-
Notifications
You must be signed in to change notification settings - Fork 140
[feature/enhanced-drag-drop] Enhanced drag & drop support #850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- improve drag-in support for files, picking the best available representation that can be retrieved as data
|
|
- drag and drop bugfixes and cleanups
|
Some questions regarding this PR:
that means, a file that is not locally available (not downloaded) is able to be dragged?. That happened also before AFAIK. I assume that this is in the same account, not posible to drag&drop between accounts without downloading. I'm missing something here
could you clarify? what does "best available representation" mean? (thanks in advance)
this one works fine OTOH, should i expect copying text and dragging into an account to create a new txt file? (i think we commented this somewhen). In case it is, is this dependant from the version? the iPad i'm using in iOS13 |
Yes, we had this behavior already, because it is not supported to download an item while dragging. Only locally available files can be dragged out.
A file could have multiple representation and I the best format for saving will be chosen.
I think it should be possible to drag text inside, which should be saved as a new txt file. |
It means you can drag a file that is not yet downloaded - and when you drop it, the OC app will download the file and deliver it to the target you dropped it on. IIRC we didn't have that before.
When an item is dragged in, it can offer more than one representation. Previously, the last in the list was picked, whatever it was. Now the implementation prefers images, then movies, then PDFs, then raw data. IIRC previously we had the issue that on an M1 Mac mini, a file was dragged in - and instead of the file, a placeholder (stored as last type) was imported.
I'd have to look into this to see what data types we are offered for this. |
Description
Fix drag and drop and improve support to run the iOS app on M1 Macs:
Types of changes